
<?php
class TestAction extends Action{
		
	public function t(){
	
		$Dao = D('Sysattach');
		$rs = $Dao->field("id,name")->where("id>60")->order("id desc")->limit('10')->findAll();
		
		//dump($rs);
		
		
		//$Dao->deleteById("5");
		
		//dump($Dao->count("id>60"));
		
		dump($Dao->getLastSql());
	
	}
		
}
?>